import { Component } from '@angular/core';
import { NavbarService } from '../navbar/navbar.service';

@Component({
    moduleId: module.id,
    selector: 'menu',
    templateUrl: 'menu.component.html',
    styleUrls: ['menu.component.css']
})
export class MenuComponent {
    navigate(args: any) {
        NavbarService.Current.Navigate([args]);
    }

    redirectToFundPage(){
        window.open("https://b.yunzhanghu.com");
        NavbarService.Current.Navigate(["/main/capital"]);
    }
}